# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-coveralls
pkgver=1.11.1
pkgrel=0
pkgdesc="Show coverage stats online via coveralls.io"
url="https://github.com/coveralls-clients/coveralls-python"
arch="noarch"
license="MIT"
depends="py3-coverage py3-docopt py3-requests"
makedepends="py3-setuptools"
options="!check" #no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/coveralls-clients/coveralls-python/archive/$pkgver.tar.gz"
builddir="$srcdir"/coveralls-python-$pkgver

replaces=py-coveralls # Backwards compatibility
provides=py-coveralls=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c7431fbe2cbc446abc6f26509d191bc64f6f09f137a8398c2895beca3a42a6de8cecb410b84121fc2b20d8c79e877711165b0a5a1c3c3075addd98b0080e1c5a  py3-coveralls-1.11.1.tar.gz"
